<div class="row-fluid">
    <div class="span6">
        <div class="row-fluid">
            <div class="span12">
                <!--<fieldset class="control-group error form-horizontal">-->
                <?php
                if (empty($pndk)) {
                    echo '<div class ="alert ">Tidak ada data</div>';
                } else {
                    ?>
                    <div class="control-group form-horizontal">
                        <label class="control-label" for="appendedInputButton">No. KK</label>
                        <div class="controls">
                            <input id="" class="input-xlarge" type="text" placeholder="<?php echo $pndk[0]->kk_id ?>"><?php echo anchor('detail/kk/' . $pndk[0]->kk_id, 'Go!', 'class="btn" type="button"', '<button></button>') ?>
                        </div>
                    </div>
                    <div class="control-group form-horizontal">
                        <label class="control-label" for="disabledInput">NIK</label>
                        <div class="controls">
                            <input id="disabledInput" class="input-xlarge disabled" type="text" disabled="" placeholder="<?php echo $pndk[0]->nik ?>">
                        </div>
                    </div>
                    <div class="control-group form-horizontal">
                        <label class="control-label">Nama</label>
                        <div class="controls">
                            <span class="input-xlarge uneditable-input"><?php echo $pndk[0]->nama ?></span>
                        </div>
                    </div>
                    <div class="control-group form-horizontal">
                        <label class="control-label">Tempat Lahir</label>
                        <div class="controls">
                            <span class="input-xlarge uneditable-input"><?php echo $pndk[0]->tempat_lahir ?></span>
                        </div>
                    </div>
                    <div class="control-group form-horizontal">
                        <label class="control-label">Tgl Lahir</label>
                        <div class="controls">
                            <span class="input-xlarge uneditable-input"><?php echo $pndk[0]->tgl_lahir ?></span>
                        </div>
                    </div>
                    <div class="control-group form-horizontal">
                        <label class="control-label">Jenis Kelamin</label>
                        <div class="controls">
                            <span class="input-xlarge uneditable-input"><?php echo $pndk[0]->sex ?></span>
                        </div>
                    </div>
                    <div class="control-group form-horizontal">
                        <label class="control-label">Gol Darah</label>
                        <div class="controls">
                            <span class="input-xlarge uneditable-input"><?php echo $pndk[0]->darah ?></span>
                        </div>
                    </div>
                    <div class="control-group form-horizontal">
                        <label class="control-label">Agama</label>
                        <div class="controls">
                            <span class="input-xlarge uneditable-input"><?php echo $pndk[0]->agama ?></span>
                        </div>
                    </div>
                    <div class="control-group form-horizontal">
                        <label class="control-label">Pendidikan Terakhir</label>
                        <div class="controls">
                            <span class="input-xlarge uneditable-input"><?php echo $pndk[0]->pendidikan ?></span>
                        </div>
                    </div>
                    <div class="control-group form-horizontal">
                        <label class="control-label">Pekerjaan</label>
                        <div class="controls">
                            <span class="input-xlarge uneditable-input"><?php echo $pndk[0]->pekerjaan ?></span>
                        </div>
                    </div>
                    <div class="control-group form-horizontal">
                        <label class="control-label">Penyandang cacat</label>
                        <div class="controls">
                            <span class="input-xlarge uneditable-input"></span>
                        </div>
                    </div>
                    <div class="control-group form-horizontal">
                        <label class="control-label">Status Perkawinan</label>
                        <div class="controls">
                            <span class="input-xlarge uneditable-input"><?php echo $pndk[0]->perkawinan ?></span>
                        </div>
                    </div>
                    <div class="control-group form-horizontal">
                        <label class="control-label">Status Hubungan Dalam Keluarga</label>
                        <div class="controls">
                            <span class="input-xlarge uneditable-input"><?php echo $pndk[0]->hub ?></span>
                        </div>
                    </div>
                    <!--</fieldset>-->
                </div>
            </div><!--/row-->
        </div><!--/span-->
        <div class="span6">
            <div class="row-fluid">
                <div class="control-group form-horizontal">
                    <label class="control-label" for="disabledInput">NIK Ibu</label>
                    <div class="controls">
                        <input id="disabledInput" class="input-xlarge disabled" type="text" disabled="" placeholder="<?php echo $pndk[0]->nik_ayah ?>"><?php echo anchor('detail/nik/' . $pndk[0]->nik_ibu, 'Go!', 'class="btn" type="button"', '<button></button>') ?>
                    </div>
                </div>
                <div class="control-group form-horizontal">
                    <label class="control-label">Nama Ibu</label>
                    <div class="controls">
                        <span class="input-xlarge uneditable-input"><?php echo $pndk[0]->nama_ibu ?></span>
                    </div>
                </div>
                <div class="control-group form-horizontal">
                    <label class="control-label" for="disabledInput">NIK Ayah</label>
                    <div class="controls">
                        <input id="disabledInput" class="input-xlarge disabled" type="text" disabled="" placeholder="<?php echo $pndk[0]->nik_ayah ?>"><?php echo anchor('detail/nik/' . $pndk[0]->nik_ayah, 'Go!', 'class="btn" type="button"', '<button></button>') ?>
                    </div>
                </div>
                <div class="control-group form-horizontal">
                    <label class="control-label">Nama Ayah</label>
                    <div class="controls">
                        <span class="input-xlarge uneditable-input"><?php echo $pndk[0]->nama_ayah ?></span>
                    </div>
                </div>
                <div class="control-group form-horizontal">
                    <label class="control-label">Alamat Sebelumnya</label>
                    <div class="controls">
                        <span class="input-xlarge uneditable-input"><?php
                echo $pndk[0]->alamat_sblm?></span>
                    </div>
                </div>
                <div class="control-group form-horizontal">
                    <label class="control-label">Alamat Sekarang</label>
                    <div class="controls">
                        <span class="input-xlarge uneditable-input"><?php
                        echo $pndk[0]->dusun;
                        echo ' ' . $pndk[0]->rt_id;
                        echo '/' . $pndk[0]->rw_id
                    ?></span>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="row-fluid">
        <div class="span4"></div>
        <div class="span4">
            <?php
            $primary = array(
                'class' => 'btn btn-primary'
            );
            echo anchor('detail/edit_nik/' . $pndk[0]->nik, 'Perbarui', $primary);
            ?>
            <?php
            $danger = array(
                'class' => 'btn btn-danger'
            );
            echo anchor('detail/del_nik/' . $pndk[0]->nik, 'Hapus', $danger)
            ?>
        </div>
    <?php } ?>
</div>